package org.neuedu.controler;

import jakarta.annotation.Resource;
import org.neuedu.api.AdminApi;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class GuanjiaController {
    @Resource
    AdminApi adminApi;

    @GetMapping("/index")
    String guanjia(){
        String str=adminApi.getAdmin();
        System.out.println(str);
        return "guanjia";
    }
}
